home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -serious- / programming / other / cop / dasb_german / about_dasb next >
Text File  |  1999-09-06  |  3KB  |  92 lines

  1. This drawer contains the terminal emulator/COP 5 terminal "DASB" for the
  2. Atari 800 and 800XL series (8 Bit Atari's). The program itself is in german,
  3. if someone needs an english translation, let me know. (See my EMAIL in the
  4. COP.readme file).
  5.  
  6. Requirements:
  7.  
  8. Atari 800XL or 800
  9. Diskdrive (DOS 2.0S or better, however DOS 3 is not welcome :-)
  10. 850 or 850XL interface box.
  11. A null modem cable. TxD/RxD crossed, GND connected is enough. Consult your
  12. interface's manual about the pin layout.
  13.  
  14.  
  15. Installation:
  16.  
  17. -Format a disk and write the "dos.sys" file on it.
  18.  
  19. -Copy the file "Autorun.sys" file from this archive to the disk. You are
  20. totally up to your own how to do this, there is no standard way.... The
  21. "Terminal" program in this directory and a simple basic prog at the
  22. Atari side might suffer. Don't forget to turn off any character translation
  23. from ASCII to ATASCII if transfering binaries!
  24.  
  25.  
  26. -Reboot the Atari from this disk. After booting, the startup pic of DASB
  27. ("Der Amiga System Debugger" meaning "The Amiga System Debugger") is
  28. showing up. If everything went fine, you should just get a copyright
  29. message, and if COP is started in serial mode, the usual COP startup ASCII
  30. art.
  31. If not, you get a german error message saying
  32.  
  33. "IO Error ... ! Bitte testen Sie das Interface und die Zuleitungs, laden Sie
  34. eventuell den RS-232 Treiber neu ein !
  35. Bitte eine Taste drücken!"
  36.  
  37. asking you to check all cables or to reboot if necessary, or to press any
  38. key for a retry.
  39.  
  40. You might also get a error message on startup if the driver of the interface
  41. box could not be loaded for some reason. It often helps in this case to turn
  42. the interface box off and on again, and to reboot the computer.
  43.  
  44.  
  45. For those of you who like to write their own interface software, or want to
  46. build an own interface:
  47.  
  48. I can't help you with the hardware, but mininum is some circuit to convert the
  49. ±12V of the Amiga to the TTL levels of the Atari serial port. A MC 1488 and
  50. MC 1489 should do this job. 
  51.  
  52. However, you then need some software driver for your interface that should
  53. be compatible to the standard RS232 commands. To create a working copy of
  54. DASB, link your driver with the files "Term.com" and "Term.dat" in this
  55. archive, and use the init vector $02E2/$02E3 to run your drivers startup
  56. code. 
  57.  
  58. The following section describes the commands that DASB sends to a driver, i.e.
  59. commands you'll have to emulate:
  60.  
  61. Name of the driver:    "R:"    (add under this name to HATABS)
  62.  
  63. CIO commands needed:
  64.  
  65. OPEN            3    (AUX1 will be 13 to indicate READ & WRITE)
  66. CLOSE            12
  67. XIO             34    AUX1=240 AUX2=0 to start concurrent mode
  68.                 with DTR and RTS set to ACTIVE.
  69. XIO            38    AUX1=32  AUX2=0 to disable any translation
  70.                 from ASCII to ATASCII and to disable
  71.                 any parity.
  72. XIO            40    AUX1=255 AUX2=0 and ICBAL/ICBAH pointing
  73.                 to a io-buffer of size stored in ICBLL/ICBLH.
  74.                 This should set the IO buffer size.
  75. BLOCK_READ        7    To read a block of bytes from the input 
  76.                 buffer.
  77. BLOCK_WRITE        11    To write a block of bytes to the output
  78.                 buffer.
  79. STATUS            13    Read the IO status of the driver. It should
  80.                 put the number of characters in the input
  81.                 buffer to locations 747/748 (Lo/Hi).
  82.  
  83.  
  84.  
  85.  
  86. The standard code to load the driver software from the interface box to the
  87. computer memory is contained in the file "Handlers.sys", also in this archive.
  88. You don't need to provide this boot mechanism, just put the handler in an
  89. own file and merge this file with "Term.dat" and "Term.com".
  90.  
  91.  
  92.     Thomas